from api.app import create_app
from waitress import serve

app = create_app()

@app.route("/")
def hello_win():
    return "成功运行在 window 环境上，请访问接口..."

# serve(app, host = '0.0.0.0', port = '5000')

if __name__ == "__main__":
    serve(app, host="0.0.0.0", port=5002)

